package adapter;

/**
 * @Author：LJ
 * @Description：
 * @Date: 2017/12/1
 * @Modified By:
 */
public class Client {
    public static void main(String[] args) {
        //原有业务逻辑
        Target target=new ConcreteTarget();
        target.request();
        //现在增加了适配器角色后的业务逻辑
        target=new Adapter();
        target.request();
    }
}
